package
{
    [Bindable]
    public class Match
    {
        public var url:String;
        public var team1:String;
        public var team2:String;
        
        public function Match(u:String,t1:String,t2:String)
        {
            url=u;
            team1=t1;
            team2=t2;
        }

        public function getUrl():String
        {
            return url;
        }
        
        public function getTeam1():String
        {
            return team1;
        }
        
        public function getTeam2():String
        {
            return team2;
        }
        
        public function setUrl(u:String):void
        {
            url=u;
        }
        
        public function setName(t1:String):void
        {
            team1=t1;
        }
        
        public function setLineup(t2:String):void
        {
            team2=t2;
        }
        
    }
}